package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名信息对象 k_users_information
 * 
 * @author kanglou
 * @date 2023-06-07
 */
@ApiModel("报名信息对象 k_users_information")
@Data
public class KUsersInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phone;

    /** openid */
    @Excel(name = "openid")
    @ApiModelProperty("openid")
    private String openid;


    /** 用户账号 */
    @Excel(name = "用户账号")
    @ApiModelProperty("用户账号")
    private String userName;

    /** 用户头像 */
    @Excel(name = "用户头像")
    @ApiModelProperty("用户头像")
    private String avatar;

    /** 学员姓名 */
    @Excel(name = "学员姓名")
    @ApiModelProperty("学员姓名")
    private String nickName;

    /** 学员年龄 */
    @Excel(name = "学员年龄")
    @ApiModelProperty("学员年龄")
    private Integer nickAge;

    /** 学员民族 */
    @Excel(name = "学员民族")
    @ApiModelProperty("学员民族")
    private String nickNation;

    /** 学员身份证件号 */
    @Excel(name = "学员身份证件号")
    @ApiModelProperty("学员身份证件号")
    private String nickCard;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    @ApiModelProperty("家长姓名")
    private String homeName;

    /** 家长电话 */
    @Excel(name = "家长电话")
    @ApiModelProperty("家长电话")
    private String homePhone;

    /** 所在学校 */
    @Excel(name = "所在学校")
    @ApiModelProperty("所在学校")
    private String nickSchool;

    /** 所在年级 */
    @Excel(name = "所在年级")
    @ApiModelProperty("所在年级")
    private String nickLevel;

    /** 主键 */
    private String id;

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setNickAge(Integer nickAge) 
    {
        this.nickAge = nickAge;
    }

    public Integer getNickAge() 
    {
        return nickAge;
    }
    public void setNickNation(String nickNation) 
    {
        this.nickNation = nickNation;
    }

    public String getNickNation() 
    {
        return nickNation;
    }
    public void setNickCard(String nickCard) 
    {
        this.nickCard = nickCard;
    }

    public String getNickCard() 
    {
        return nickCard;
    }
    public void setHomeName(String homeName) 
    {
        this.homeName = homeName;
    }

    public String getHomeName() 
    {
        return homeName;
    }
    public void setHomePhone(String homePhone) 
    {
        this.homePhone = homePhone;
    }

    public String getHomePhone() 
    {
        return homePhone;
    }
    public void setNickSchool(String nickSchool) 
    {
        this.nickSchool = nickSchool;
    }

    public String getNickSchool() 
    {
        return nickSchool;
    }
    public void setNickLevel(String nickLevel) 
    {
        this.nickLevel = nickLevel;
    }

    public String getNickLevel() 
    {
        return nickLevel;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phone", getPhone())
            .append("userName", getUserName())
            .append("avatar", getAvatar())
            .append("nickName", getNickName())
            .append("nickAge", getNickAge())
            .append("nickNation", getNickNation())
            .append("nickCard", getNickCard())
            .append("homeName", getHomeName())
            .append("homePhone", getHomePhone())
            .append("nickSchool", getNickSchool())
            .append("nickLevel", getNickLevel())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
